package com.bdth.bdthmall.api.epoint.vo;

/**
 * Created by Administrator on 2020/1/13.
 */
public class ResponseTokenVo {
    private boolean isSuccess;
    private String returnMsg;
    private String accessToken;

    public static ResponseTokenVo builder(){
        return new ResponseTokenVo();
    }

    public ResponseTokenVo success(boolean isSuccess){
        this.isSuccess = isSuccess;
        return this;
    }

    public ResponseTokenVo msg(String returnMsg){
        this.returnMsg = returnMsg;
        return this;
    }
    public ResponseTokenVo token(String accessToken){
        this.accessToken = accessToken;
        return this;
    }

    public boolean getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(boolean success) {
        isSuccess = success;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }
}
